<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 网页图标 -->
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
    <!-- 第三方框架CSS文件 -->
    <link href="https://file.fe80.cn/pages/tegang/assets/css/theme.min.css" rel="stylesheet">
    <link href="icon.css" rel="stylesheet">
    <!-- <link href="https://file.fe80.cn/pages/tegang/vendors/sweetalert2/bootstrap-4.css" rel="stylesheet"> -->
    <!-- 自定义CSS文件 -->
    <!-- <link rel="stylesheet" href="https://file.fe80.cn/pages/tegang/assets/css/main.css"> -->
    <title>个人系统</title>
    <style>

    </style>
</head>

<body id="page-download">
    <div class="" id="section-login">
        <main class="main">
            <div class="container-fluid">
                <div class="row min-vh-100 flex-center g-0">
                    <div class="col-lg-8 col-xxl-6 py-3 position-relative"><img class="bg-auth-circle-shape"
                            src="https://file.fe80.cn/pages/tegang/assets/img/icons/spot-illustrations/bg-shape.png"
                            alt="" width="250"><img class="bg-auth-circle-shape-2"
                            src="https://file.fe80.cn/pages/tegang/assets/img/icons/spot-illustrations/shape-1.png"
                            alt="" width="150">
                        <div class="card overflow-hidden z-index-1">
                            <div class="card-body p-0">
                                <div class="row g-0 h-100">
                                    <div id="me-0" class="col-md-5 text-center bg-card-gradient d-flex flex-sm-column justify-content-between">
                                        <div class="position-relative p-4 pt-md-5 pb-md-7 light">
                                            <div class="bg-holder bg-auth-card-shape"
                                                style="background-image:url(https://file.fe80.cn/pages/tegang/assets/img/icons/spot-illustrations/half-circle.png);">
                                            </div>
                                            <!--/.bg-holder-->
                                            <div class="z-index-1 position-relative"><span
                                                    class="link-light mb-4 font-sans-serif fs-4 d-inline-block fw-bolder">个人数据<br>管理系统</span>
                                                <p class="opacity-75 text-white"><br><svg
                                                        class="svg-inline--fa fa-lightbulb fa-w-11 me-2"
                                                        aria-hidden="true" focusable="false" data-prefix="far"
                                                        data-icon="lightbulb" role="img"
                                                        xmlns="http://www.w3.org/2000/svg" viewBox="0 0 352 512"
                                                        data-fa-i2svg="">
                                                        <path fill="currentColor"
                                                            d="M176 80c-52.94 0-96 43.06-96 96 0 8.84 7.16 16 16 16s16-7.16 16-16c0-35.3 28.72-64 64-64 8.84 0 16-7.16 16-16s-7.16-16-16-16zM96.06 459.17c0 3.15.93 6.22 2.68 8.84l24.51 36.84c2.97 4.46 7.97 7.14 13.32 7.14h78.85c5.36 0 10.36-2.68 13.32-7.14l24.51-36.84c1.74-2.62 2.67-5.7 2.68-8.84l.05-43.18H96.02l.04 43.18zM176 0C73.72 0 0 82.97 0 176c0 44.37 16.45 84.85 43.56 115.78 16.64 18.99 42.74 58.8 52.42 92.16v.06h48v-.12c-.01-4.77-.72-9.51-2.15-14.07-5.59-17.81-22.82-64.77-62.17-109.67-20.54-23.43-31.52-53.15-31.61-84.14-.2-73.64 59.67-128 127.95-128 70.58 0 128 57.42 128 128 0 30.97-11.24 60.85-31.65 84.14-39.11 44.61-56.42 91.47-62.1 109.46a47.507 47.507 0 0 0-2.22 14.3v.1h48v-.05c9.68-33.37 35.78-73.18 52.42-92.16C335.55 260.85 352 220.37 352 176 352 78.8 273.2 0 176 0z">
                                                        </path>
                                                    </svg>
                                                    <!-- <span class="far fa-lightbulb me-2"></span> Font Awesome fontawesome.com -->
                                                    温馨提示<br>请使用360极速浏览器访问。</p>
                                            </div>
                                        </div>
                                        <div class="mt-3 mb-4 mt-md-4 mb-md-5 light">
                                            <p class="mb-0 mt-4 mt-md-5 fs--1 fw-semi-bold text-white opacity-75"><a
                                                    href="https://beian.miit.gov.cn/" target="_blank"
                                                    class="link-white">ICP备案号 黔ICP备1800404号-4</a></p>
                                        </div>
                                    </div>
                                    <div class="col-md-7 d-flex flex-center">
                                        <div class="p-4 p-md-5 flex-grow-1">
                                            <div class="row flex-between-center">
                                                <div class="col-auto">
                                                    <div class="alert alert-danger d-flex align-items-center d-none"
                                                        id="alert-can-not-enroll" role="alert">
                                                        <svg class="svg-inline--fa fa-exclamation-triangle fa-w-18 me-2"
                                                            aria-hidden="true" focusable="false" data-prefix="fas"
                                                            data-icon="exclamation-triangle" role="img"
                                                            xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"
                                                            data-fa-i2svg="">
                                                            <path fill="currentColor"
                                                                d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z">
                                                            </path>
                                                        </svg>
                                                        <!-- <span class="fas fa-exclamation-triangle me-2"></span> Font Awesome fontawesome.com -->
                                                        <div class="alert-text">当前不在注册报名时间段内，请查看招聘流程！</div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row mt-2 flex-between-center">
                                                <div class="col-auto">
                                                    <h3>用户登录</h3>
                                                </div>
                                            </div>
                                            <form method="post" id="form-login" class="needs-validation"
                                                action="javascript:;" _action="./login.json" novalidate="">
                                                <div class="mb-3 position-relative">
                                                    <label class="form-label" for="input-user">用户名</label>
                                                    <input class="form-control" id="input-user" placeholder=""
                                                        name="user" type="text" required="">
                                                    <div class="invalid-tooltip">用户名必填</div>
                                                </div>
                                                <div class="mb-3 position-relative">
                                                    <label class="form-label" for="input-mm">密码</label>
                                                    <input class="form-control" id="input-mm" placeholder="" name="mm"
                                                        type="password" required="">
                                                    <div class="invalid-tooltip">密码必填</div>
                                                </div>
                                                <div class="row flex-between-center" id="login-links">
                                                    <div class="col-auto"><a class="fs--1" href="/docs/manual.pdf"
                                                            target="_blank"><svg class="svg-inline--fa fa-book fa-w-14"
                                                                aria-hidden="true" focusable="false" data-prefix="fas"
                                                                data-icon="book" role="img"
                                                                xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"
                                                                data-fa-i2svg="">
                                                                <path fill="currentColor"
                                                                    d="M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z">
                                                                </path>
                                                            </svg>
                                                            <!-- <span class="fas fa-book"></span> Font Awesome fontawesome.com -->
                                                            下载操作手册</a></div>
                                                    <div class="col-auto"><a class="fs--1"
                                                            href="forgetPsw.html">忘记密码？</a>&nbsp;<a class="fs--1"
                                                            href="javascript:;" onclick="callHelp()">忘记用户名？</a></div>
                                                </div>

                                                <div class="mb-3"><button class="btn btn-primary d-block w-100 mt-3"
                                                        type="submit" name="submit">登　录</button></div>
                                            </form>

                                            <div class="row mt-5 flex-between-center">
                                                <div class="col-auto">
                                                    <div style="color: red; font-size: 13px; line-height: 1.6;">
                                                        <strong>温馨提示：</strong><br>
                                                        <span
                                                            style="text-indent: 2em; display: inline-block;">准考证打印时间为2021年7月14日0时至7月17日24时，请及时打印准考证。</span>
                                                        <span
                                                            style="text-indent: 2em; display: inline-block;">如有问题，请联系客服：18600000000</span>
                                                        <br><br>
                                                        <!--<strong>时间调整：</strong><br/>
                              <span style="text-indent: 2em; display: inline-block;">《贵州省2022年特岗教师招聘报名表》下载打印时间调整为<strong><u>2022年7月7日中午12:00以后</u></strong>，现场资格审查时间段调整为<strong><u>2022年7月8日至2022年7月11日中午12:00</u></strong>。笔试准考证打印时间段和笔试考试时间不变。</span>-->
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </main>
    </div>
    <link href="https://mirror.fe80.cn/limonte-sweetalert2/8.11.8/sweetalert2.min.css" rel="stylesheet">
    <script src="https://mirror.fe80.cn/limonte-sweetalert2/8.11.8/sweetalert2.min.js"></script>
    <script src="https://mirror.fe80.cn/jquery/3.6.1/jquery.min.js"></script>
    <script>
    $(function () {
        $('button[name=submit]').on('click',function(){
            var yh = $('input[name=user]').val();
            var mm = $('input[name=mm]').val();
            console.log(yh+mm);
            var btnSubmit = $('button[type="submit"]');
            if(yh.length < 5 || mm.length < 5){
                Swal.fire("用户名填写不正确", "用户名需要大于5个字符", "error");
            }else{
                btnSubmit.attr('disabled','disabled');
                $.post('http://c.fe80.cn/portal/main/login',{'yh':yh,'mm':mm},function(res){
                    if(res.code == 1){
                        Swal.fire({
                            showConfirmButton: false,
                            timer: 1000,
                            type: 'success',
                            title: '登录成功'
                        }).then(function(){
                            window.location.href = 'index.html';
                        });
                    }else{
                        Swal.fire("登录失败", "请检查用户名和密码", "error");
                        // 防止多次提交
                        setTimeout(function(){
                            btnSubmit.removeAttr('disabled')
                        },3000);
                    }
                });
            }
        });
    });
    </script>
    <style>
        @media screen and (max-width: 575px) {
            #me-0{
                display: none!important;
            }
		}
    </style>
</body>

</html>